#ifndef __MENU_CTRL_H__
#define __MENU_CTRL_H__

#include <Arduino.h>
#include "Wifi_Ctrl.h"
#include "WS2812B.h"
#include "Led.h"
#include "Atomizer.h"
//#include "drv_oled.h"
#include "OLED.h"
//#include "oled_data.h"
//#include "Oled_Data.h"
#include "OLED_Data.h"
//#include "DHT11.h"
#include "Fan.h"

/*全局宏*/
#define MACHINE_OPEN 0
#define MACHINE_CLOSE 1

#define MENU_EVENT_NULL 0
#define MENU_EVENT_TICK 1

#define MENU_EVENT_BUTTON1 2
#define MENU_EVENT_BUTTON2 3
#define MENU_EVENT_BUTTON3 4

#define MENU_EVENT_LONG_BUTTON1 5
#define MENU_EVENT_LONG_BUTTON2 6
#define MENU_EVENT_LONG_BUTTON3 7

#define MENU_EVENT_TWO_BUTTON1 8
#define MENU_EVENT_TWO_BUTTON2 9
#define MENU_EVENT_TWO_BUTTON3 10


/*函数声明*/
#ifdef __cplusplus
extern "C"{
#endif
    void menu_proc(uint8_t event);
#ifdef __cplusplus
}
#endif

#endif